Remove unnecessary upgrade role and playbook

This commit is contained in:
Kris Lamoureux 2020-06-14 23:57:15 -04:00
parent 8765808d77
commit d276c3dc2b
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
2 changed files with 0 additions and 45 deletions

View File

@ -1,38 +0,0 @@
- name: Download new Traefik container
docker_image:
name: "traefik:{{ traefik_version }}"
source: pull
register: new_traefik
- name: Download new WordPress container
docker_image:
name: "wordpress:{{ wordpress_version }}"
source: pull
register: new_wordpress
- name: Download new MariaDB container
docker_image:
name: "mariadb:{{ mariadb_version }}"
source: pull
register: new_mariadb
- name: Stop and remove old Traefik container
docker_container:
name: "{{ traefik_name }}"
image: "traefik:{{ traefik_version }}"
state: absent
when: new_traefik.changed
- name: Stop and remove old WordPress container
docker_container:
name: "{{ wordpress_name }}"
image: "wordpress:{{ wordpress_version }}"
state: absent
when: new_wordpress.changed
- name: Stop and remove old MariaDB container
docker_container:
name: "{{ mariadb_name }}"
image: "mariadb:{{ mariadb_version }}"
state: absent
when: new_mariadb.changed

View File

@ -1,7 +0,0 @@
- name: Upgrade Moxie Server
hosts: moxietest
become: true
roles:
- upgrade
- traefik
- wordpress