Prevent unintended local execution of delegated tasks in ansible-pull
This commit is contained in:
parent
005ce84594
commit
a2e8bac9bd
3 changed files with 5 additions and 1 deletions
|
|
@ -5,5 +5,5 @@ Description=Run LMN Client updates via ansible-pull
|
|||
Type=oneshot
|
||||
User=root
|
||||
ExecStart=/usr/bin/ansible-pull --only-if-changed --verbose --vault-password-file /root/.inventory-pw -l %H -d /root/lmn-client \
|
||||
-i {{ misc_updater_inventory }} --url={{ misc_updater_repository }} -C {{ misc_updater_branch }} lmn-client.yml
|
||||
--skip-tags no_ansible_pull -i {{ misc_updater_inventory }} --url={{ misc_updater_repository }} -C {{ misc_updater_branch }} lmn-client.yml
|
||||
|
||||
|
|
|
|||
|
|
@ -29,3 +29,5 @@
|
|||
- name: Configure Wireguard
|
||||
ansible.builtin.include_tasks: wg_config.yml
|
||||
when: vpn is defined and vpn == "wg"
|
||||
tags:
|
||||
- no_ansible_pull
|
||||
|
|
|
|||
|
|
@ -39,3 +39,5 @@
|
|||
- name: Configure WPA-Enterprise (EAP-TLS)
|
||||
ansible.builtin.include_tasks: eap-tls_check-certificate.yaml
|
||||
when: wlan == 'eap-tls'
|
||||
tags:
|
||||
- no_ansible_pull
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue