|
@@ -62,15 +62,15 @@
|
|
register: symlink_policies
|
|
register: symlink_policies
|
|
|
|
|
|
- name: Dump the policies
|
|
- name: Dump the policies
|
|
- ansible.builtin.shell:
|
|
|
|
|
|
+ ansible.builtin.shell: ./scripts/dump-policies.sh > policyexport
|
|
|
|
+ args:
|
|
chdir: "{{ ansible_facts['user_dir'] }}"
|
|
chdir: "{{ ansible_facts['user_dir'] }}"
|
|
- cmd: ./scripts/dump-policies.sh > policyexport
|
|
|
|
creates: "{{ ansible_facts['user_dir'] }}/policyexport"
|
|
creates: "{{ ansible_facts['user_dir'] }}/policyexport"
|
|
|
|
|
|
- name: Fix the policies
|
|
- name: Fix the policies
|
|
- ansible.builtin.command:
|
|
|
|
|
|
+ ansible.builtin.command: ./scripts/fix-policies.sh
|
|
|
|
+ args:
|
|
chdir: "{{ ansible_facts['user_dir'] }}"
|
|
chdir: "{{ ansible_facts['user_dir'] }}"
|
|
- cmd: ./scripts/fix-policies.sh
|
|
|
|
|
|
|
|
- name: Clean up token symlink
|
|
- name: Clean up token symlink
|
|
file:
|
|
file:
|