N/A
cat << EOF > hosts.yml
all:
hosts:
ansibletest01.fqdn.tld:
vars:
ansible_user: "[email protected]"
ansible_connection: winrm
ansible_winrm_transport: kerberos
ansible_winrm_server_cert_validation: ignore
EOF
cat << EOF > vars.yml
match_host: ansibletest01.fqdn.tld
category_names:
- Security Updates
- Critical Updates
- Update Rollups
- Updates
- Drivers
- Definition Updates
server_selection: windows_update
reboot: false
EOF
ansible-galaxy collection install -r collections/requirements.yml
kinit [email protected]
ansible-playbook -i hosts.yml -e @vars.yml updates/search.yml
export AZURE_SUBSCRIPTION_ID=
export AZURE_CLIENT_ID=
export AZURE_SECRET=
export AZURE_TENANT=
ansible-playbook -i hosts.yml --limit=epic-dc1-ica03.lcmchealth.org -e username=lyas.spiehler -e computername=vm-lspiehler -e ca=EPIC-DC1-ICA03.lcmchealth.org\\DC1-ICA03-FAS-CA -e template=CCExamRoom -e resource_group=LCMC-Shared -e storage_account_name=lcmcsharedgeneraleast01 -e container=certs certificate/citrix-auth-cert-request.yml
- su -
- cd /var/lib/awx/venv/awx/bin
- source activate
- pip install ansible[azure] --upgrade --force
- deactivate