Skip to content
Snippets Groups Projects
Commit e6527517 authored by jurgenhaas's avatar jurgenhaas
Browse files

Update to Ansible 2.2.1.0 and adjust all file mode settings to provide them as strings

parent ff20908f
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
dest=/etc/sd-agent/conf.d/apache.yaml dest=/etc/sd-agent/conf.d/apache.yaml
owner=root owner=root
group=root group=root
mode=0644 mode='644'
notify: "ServerDensity | Restart Agent" notify: "ServerDensity | Restart Agent"
- name: "ServerDensity | Apache | Enable some required modules" - name: "ServerDensity | Apache | Enable some required modules"
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
dest=/etc/apache2/sites-available/sd-agent{{ apache_conf_ext|default('.conf') }} dest=/etc/apache2/sites-available/sd-agent{{ apache_conf_ext|default('.conf') }}
owner=root owner=root
group=root group=root
mode=0644 mode='644'
notify: "ServerDensity | Restart Apache" notify: "ServerDensity | Restart Apache"
- name: "ServerDensity | Apache | Enable the sd-agent site" - name: "ServerDensity | Apache | Enable the sd-agent site"
......
...@@ -13,5 +13,5 @@ ...@@ -13,5 +13,5 @@
dest=/etc/sd-agent/conf.d/mysql.yaml dest=/etc/sd-agent/conf.d/mysql.yaml
owner=root owner=root
group=root group=root
mode=0644 mode='644'
notify: "ServerDensity | Restart Agent" notify: "ServerDensity | Restart Agent"
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
copy: copy:
content='deb http://archive.serverdensity.com/ubuntu/ all main' content='deb http://archive.serverdensity.com/ubuntu/ all main'
dest=/etc/apt/sources.list.d/sd-agent.list dest=/etc/apt/sources.list.d/sd-agent.list
mode=644 mode='644'
- name: "ServerDensity | Install The Agent" - name: "ServerDensity | Install The Agent"
apt: apt:
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
file: file:
dest={{ sd_agent_plugins_dir }} dest={{ sd_agent_plugins_dir }}
state=directory state=directory
mode=755 mode='755'
- name: "ServerDensity | Copy Plugins" - name: "ServerDensity | Copy Plugins"
copy: copy:
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
dest=/etc/sd-agent/{{ item }} dest=/etc/sd-agent/{{ item }}
owner=root owner=root
group=root group=root
mode=0644 mode='644'
with_items: with_items:
- 'config.cfg' - 'config.cfg'
- 'plugins.cfg' - 'plugins.cfg'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment