ansible/roles/common/tasks/main.yml in subspace-1.0.7 vs ansible/roles/common/tasks/main.yml in subspace-1.0.8

- old
+ new

@@ -1,19 +1,26 @@ --- - name: Test connection ping: + - name: Ensure /etc/profile.d/ exists + file: + path: "/etc/profile.d/" + owner: root + state: directory + become: yes + - name: Create terminal color file and make it executable file: path: "/etc/profile.d/termcolor.sh" state: touch mode: a+x become: true - + - name: Set terminal color vars: - terminal_env_playbook: "{{terminal_env | default('not provided', true) }}" - template: + terminal_env_playbook: "{{terminal_env | default('not provided', true) }}" + template: src: terminalcolor dest: "/etc/profile.d/termcolor.sh" become: true - name: Set MOTD