# HG changeset patch # User Meredith Howard # Date 1563095028 18000 # Node ID 14e0c774b9162eb8fafa04d2db129787b2cca7c1 # Parent 3166d16a94b9cb2b602ba14e367a7c35944f6ca0 deprecation fixes diff --git a/roles/devbox/tasks/dist-debian.yml b/roles/devbox/tasks/dist-debian.yml --- a/roles/devbox/tasks/dist-debian.yml +++ b/roles/devbox/tasks/dist-debian.yml @@ -10,7 +10,7 @@ - name: Install base packages tags: packages, install apt: - state: installed + state: present name: - build-essential - git @@ -26,7 +26,7 @@ tags: packages, install when: gui_enabled apt: - state: installed + state: present name: - lightdm - rxvt-unicode-256color diff --git a/roles/user/tasks/main.yml b/roles/user/tasks/main.yml --- a/roles/user/tasks/main.yml +++ b/roles/user/tasks/main.yml @@ -54,7 +54,7 @@ args: chdir: "{{ user.home }}" register: update_dotfiles - changed_when: update_dotfiles.stdout | match("added|updated") + changed_when: update_dotfiles.stdout is match("added|updated") failed_when: update_dotfiles.rc > 1 tags: user, dotfiles @@ -65,6 +65,6 @@ args: chdir: "{{ user.home }}" register: homedir_setup - changed_when: homedir_setup.stdout | match("Updating|Cloning") + changed_when: homedir_setup.stdout is match("Updating|Cloning") failed_when: homedir_setup.rc != 0 tags: user, dotfiles