about summary refs log tree commit diff
path: root/base_apps.yml
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel.to.malpa@gmail.com>2019-04-17 16:35:30 +0200
committerPaweł Dybiec <pawel.to.malpa@gmail.com>2019-04-17 16:35:30 +0200
commit884d989356694bda2017bc1088debe60a3d72c24 (patch)
tree39f589102e241a831b1ba139797294dcf4817d71 /base_apps.yml
parentopenvpn and docker registry (diff)
Comment and cleanup ansible configs
Diffstat (limited to 'base_apps.yml')
-rw-r--r--base_apps.yml18
1 files changed, 12 insertions, 6 deletions
diff --git a/base_apps.yml b/base_apps.yml
index b3e980e..2534efd 100644
--- a/base_apps.yml
+++ b/base_apps.yml
@@ -4,10 +4,13 @@
     remote_user: ansible_worker
     become: yes
     tasks:
-    - apt_key:
+    - name: docker gpg keys
+      apt_key:
         url: https://download.docker.com/linux/debian/gpg
-    - apt: name=apt-transport-https
-    - apt_repository:
+    - name: Ensure apt has https transport
+      apt: name=apt-transport-https
+    - name: docker debian repository
+      apt_repository:
         repo: deb [arch=amd64] https://download.docker.com/linux/debian stretch stable 
         update_cache: true
     - name: Base packages
@@ -24,15 +27,18 @@
       - rsync
       - python-pip
       - mc
-    - apt:
+    - name: Upgrade all packages
+      apt:
         upgrade: full
-    - pip:
+    - name: Install docker-compose
+      pip:
         name: "{{ item }}"
       with_items:
       - docker
       - docker-compose
 
-    - systemd:
+    - name: Enable services
+      systemd:
         enabled: true
         state: started
         name: "{{ item }}"