|
@@ -61,15 +61,17 @@
|
|
- policy_backup.stat.exists
|
|
- policy_backup.stat.exists
|
|
register: symlink_policies
|
|
register: symlink_policies
|
|
|
|
|
|
|
|
+# Version horrors. FQMN will choke here. Must use short name.
|
|
- name: Dump the policies
|
|
- name: Dump the policies
|
|
- ansible.builtin.shell: ./scripts/dump-policies.sh > policyexport
|
|
|
|
- args:
|
|
|
|
|
|
+ shell:
|
|
|
|
+ cmd: "./scripts/dump-policies.sh > policyexport"
|
|
chdir: "{{ ansible_facts['user_dir'] }}"
|
|
chdir: "{{ ansible_facts['user_dir'] }}"
|
|
creates: "{{ ansible_facts['user_dir'] }}/policyexport"
|
|
creates: "{{ ansible_facts['user_dir'] }}/policyexport"
|
|
|
|
|
|
|
|
+# Version horrors. FQMN will choke here. Must use short name.
|
|
- name: Fix the policies
|
|
- name: Fix the policies
|
|
- ansible.builtin.command: ./scripts/fix-policies.sh
|
|
|
|
- args:
|
|
|
|
|
|
+ command:
|
|
|
|
+ cmd: ./scripts/fix-policies.sh
|
|
chdir: "{{ ansible_facts['user_dir'] }}"
|
|
chdir: "{{ ansible_facts['user_dir'] }}"
|
|
|
|
|
|
- name: Clean up token symlink
|
|
- name: Clean up token symlink
|