cat << EOF > hosts.yml
---
all:
hosts:
ansibletest03:
ansibletest04:
EOF
cat << EOF > vars.yml
match_host: all
ADAdminGroup: "admingroup"
ADDomain: "domain"
ADJoinUsername: "aduser"
ADJoinPassword: "adpassword"
EOF
Delete sssd cache:
systemctl stop sssd; rm -rf /var/lib/sss/{db,mc}/*; systemctl start sssd
ansible-playbook -i hosts.yml -e @vars.yml join_ad.yml
ansible-playbook -i hosts.yml -e match_host=all disable_multipathd_vmware.yml
cat << EOF > vars.yml
match_host: all
crowdstrike_http_url: http://your_http_file_server.yourdomain.tld/falcon-sensor_6.43.0-14005_amd64.deb
CID: 00000000000000000000000000000000-00
EOF
ansible-playbook -i hosts.yml -e @vars.yml deploy_crowdstrike.yml