diff --git a/tasks/main.yml b/tasks/main.yml index 89cecbcc32c876221bd423c293592b7622c6afd4..e88336a86099e889713b102b97eebb5a3c276e84 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -9,13 +9,14 @@ - name: "Install essential packages" apt: - pkg: '{{ item }}' + pkg: '{{ packages }}' state: 'present' update_cache: yes - with_items: - - 'alien' - - 'libaio1' - - 'bc' + vars: + packages: + - 'alien' + - 'libaio1' + - 'bc' - name: "Check current status" shell: 'ls /u01/app/oracle/product'