diff --git a/roles/mgrote.docker-compose-deploy/tasks/dockercompose.yml b/roles/mgrote.docker-compose-deploy/tasks/dockercompose.yml index da7245cb..a8d02cc6 100644 --- a/roles/mgrote.docker-compose-deploy/tasks/dockercompose.yml +++ b/roles/mgrote.docker-compose-deploy/tasks/dockercompose.yml @@ -10,7 +10,6 @@ chdir: "{{ docker_compose_base_dir }}/{{ item.dir_name }}" changed_when: false when: repo_exists.stat.exists == true - register: stashed - name: clone public repository - "{{ item.name }}" ansible.builtin.git: @@ -18,13 +17,6 @@ dest: "{{ docker_compose_base_dir }}/{{ item.dir_name }}" register: repo - - name: pop stashed changes - ansible.builtin.shell: git stash pop - args: - chdir: "{{ docker_compose_base_dir }}/{{ item.dir_name }}" - changed_when: false - when: stashed.changed - - name: (re)start container - "{{ item.name }}" ansible.builtin.shell: docker-compose down && docker-compose up -d args: diff --git a/roles/mgrote.dotfiles/tasks/main.yml b/roles/mgrote.dotfiles/tasks/main.yml index 8e989ec0..36ae2578 100644 --- a/roles/mgrote.dotfiles/tasks/main.yml +++ b/roles/mgrote.dotfiles/tasks/main.yml @@ -16,7 +16,6 @@ chdir: "{{ dotfiles_repo_path }}" changed_when: false when: repo_exists.stat.exists == true - register: stashed - name: Ensure dotfiles repository is cloned locally. git: @@ -25,13 +24,6 @@ depth: 1 register: git_clone - - name: pop stashed changes - ansible.builtin.shell: git stash pop - args: - chdir: "{{ dotfiles_repo_path }}" - changed_when: false - when: stashed.changed - - name: set owner recursive for repo file: path: "{{ dotfiles_repo_path }}"