diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-04-04 16:05:58 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-04-04 16:06:10 +0200 |
commit | 8d6dd2e082547d6f814a904181700d7fb54d7127 (patch) | |
tree | c41599c7fd3db7441be21acdb5873cbf82aed8bf /roles/common/tasks | |
parent | e1fc6a114e23eafc709163d8e6e625c0db211fe5 (diff) |
Upgrade syntax to Ansible 2.5.
Diffstat (limited to 'roles/common/tasks')
-rw-r--r-- | roles/common/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index aca16b6..b3ed8a0 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -6,7 +6,7 @@ tags: apt - name: Install intel-microcode apt: pkg=intel-microcode - when: "ansible_processor[0] | search('^(Genuine)?Intel.*') and not ansible_virtualization_role == 'guest'" + when: "ansible_processor[1] is search('^(Genuine)?Intel.*') and not ansible_virtualization_role == 'guest'" tags: intel - import_tasks: firewall.yml tags: |