Commit d1d7ad5c authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Improve package installation messages.

parent 61d78883
- name: Install packages using apt - name: Install {{ package_name }} using apt
apt: name={{ package_name }} state={{ package_state }} update_cache=yes cache_valid_time=3600 apt: name={{ package_name }} state={{ package_state }} update_cache=yes cache_valid_time=3600
when: ansible_os_family == "Debian" or ansible_os_family == "Linuxmint" when: ansible_os_family == "Debian" or ansible_os_family == "Linuxmint"
- name: Install re6stnet on CentOS - name: Install {{ package_name }} using yum
yum: name={{ package_name }} state={{ package_state }} update_cache=yes yum: name={{ package_name }} state={{ package_state }} update_cache=yes
when: ansible_os_family == "RedHat" when: ansible_os_family == "RedHat"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment