forked from evolix/ansible-roles
apt module: Use "state: present" instead of "state: installed"
"state: installed" is deprecated in Ansible 2.5
This commit is contained in:
parent
f8babfd532
commit
ec535b036c
|
@ -3,7 +3,7 @@
|
|||
- name: "Install munin-node and core plugins packages"
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
state: present
|
||||
with_items:
|
||||
- munin-node
|
||||
- munin-plugins-core
|
||||
|
@ -28,7 +28,7 @@
|
|||
- name: "Install fcgi packages for Munin graphs"
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
state: present
|
||||
with_items:
|
||||
- libapache2-mod-fcgid
|
||||
- libcgi-fast-perl
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
- name: install evocheck from package
|
||||
apt:
|
||||
name: evocheck
|
||||
state: installed
|
||||
state: present
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
- name: dbus is installed
|
||||
apt:
|
||||
name: dbus
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: Set hostname "{{ evolinux_hostname }}"
|
||||
hostname:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
- name: ssl-cert package is installed
|
||||
apt:
|
||||
name: ssl-cert
|
||||
state: installed
|
||||
state: present
|
||||
tags:
|
||||
- haproxy
|
||||
- packages
|
||||
|
@ -13,7 +13,7 @@
|
|||
- name: Install HAProxy package
|
||||
apt:
|
||||
name: haproxy
|
||||
state: installed
|
||||
state: present
|
||||
tags:
|
||||
- haproxy
|
||||
- packages
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
apt:
|
||||
name: mongodb-org
|
||||
allow_unauthenticated: yes
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: install dependency for monitoring
|
||||
apt:
|
||||
name: python-pymongo
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: Custom configuration
|
||||
template:
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- name: Install packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
state: present
|
||||
with_items:
|
||||
- mongodb
|
||||
- mongo-tools
|
||||
|
@ -11,7 +11,7 @@
|
|||
- name: install dependency for monitoring
|
||||
apt:
|
||||
name: python-pymongo
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: Custom configuration
|
||||
template:
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
- name: MySQL APT config package is installed
|
||||
apt:
|
||||
deb: /root/mysql-apt-config_0.8.9-1_all.deb
|
||||
state: installed
|
||||
state: present
|
||||
register: mysql_apt_config_deb
|
||||
|
||||
- name: Open firewall for MySQL.com repository
|
||||
|
|
|
@ -39,4 +39,4 @@
|
|||
- name: Install package for PHP
|
||||
apt:
|
||||
name: newrelic-php5
|
||||
state: installed
|
||||
state: present
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- name: Install locales
|
||||
apt:
|
||||
name: locales
|
||||
state: installed
|
||||
state: present
|
||||
changed_when: false
|
||||
|
||||
- name: Setting default locales
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- name: check_rabbitmq dependencies
|
||||
apt:
|
||||
name: python-requests
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- include_role:
|
||||
name: remount-usr
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- name: patch must be installed
|
||||
apt:
|
||||
name: patch
|
||||
state: installed
|
||||
state: present
|
||||
|
||||
- name: Patch ProFTPd config file
|
||||
patch:
|
||||
|
|
Loading…
Reference in a new issue