diff options
author | Paweł Dybiec <pawel.to.malpa@gmail.com> | 2019-04-17 16:35:30 +0200 |
---|---|---|
committer | Paweł Dybiec <pawel.to.malpa@gmail.com> | 2019-04-17 16:35:30 +0200 |
commit | 884d989356694bda2017bc1088debe60a3d72c24 (patch) | |
tree | 39f589102e241a831b1ba139797294dcf4817d71 /base_apps.yml | |
parent | openvpn and docker registry (diff) |
Comment and cleanup ansible configs
Diffstat (limited to 'base_apps.yml')
-rw-r--r-- | base_apps.yml | 18 |
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 }}" |