ansible/roles/common/tasks/main.yml in subspace-1.0.6 vs ansible/roles/common/tasks/main.yml in subspace-1.0.7
- old
+ new
@@ -1,9 +1,24 @@
---
- name: Test connection
ping:
+ - 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:
+ src: terminalcolor
+ dest: "/etc/profile.d/termcolor.sh"
+ become: true
+
- name: Set MOTD
template:
src: motd
dest: /etc/motd
become: true
@@ -40,9 +55,17 @@
- name: apt-get update
apt: update_cache=yes cache_valid_time=86400
become: true
tags:
- upgrade
+
+ - name: /usr/lib/update-notifier/apt-check --human-readable
+ command: /usr/lib/update-notifier/apt-check --human-readable
+ tags:
+ - upgrade
+ register: out
+
+ - debug: var=out
- name: apt-get upgrade
apt: upgrade=full
become: true
tags: