Correcting some quotation errors.

This commit is contained in:
Emiliano Vavassori 2015-09-14 01:15:51 +02:00
parent fa2d9d2837
commit 94810e4e4c
4 changed files with 13 additions and 10 deletions

View File

@ -8,5 +8,5 @@
state: absent
when: ansible_product_name != "VirtualBox"
with_items:
- ^auto eth0
- ^iface eth0
- '^auto eth0'
- '^iface eth0'

View File

@ -3,7 +3,7 @@
- name: Installing domain packages
apt:
pkg: {{ item }}
pkg: '{{ item }}'
state: present
with_items:
- winbind

View File

@ -7,13 +7,13 @@
mode: 0755
state: directory
with_items:
- /usr/lib/firefox/browser/defaults/profile
- /usr/local/share/ca-certificates/{{ domainfull }}
- '/usr/lib/firefox/browser/defaults/profile'
- '/usr/local/share/ca-certificates/{{ domainfull }}'
- name: Getting SSL transparent proxy certificate
get_url:
url: 'http://{{ serverfqdn }}/proxy.crt'
dest: /usr/local/share/ca-certificates/{{ domainfull }}/ca.crt
dest: '/usr/local/share/ca-certificates/{{ domainfull }}/ca.crt'
register: proxycrt_dwnl
- name: Adding certificate sto the ones used by the system

View File

@ -3,11 +3,14 @@
# within NethServer console
- name: Installing packages for specific role from NetworkPackageManager
apt: name={{ item }} state=present
sudo: yes
apt:
name: '{{ item }}'
state: present
with_items: "{{ addpkg }}"
- name: Removing packages for specific role from NetworkPackageManager
apt: name={{ item }} state=absent purge=yes
sudo: yes
apt:
name: '{{ item }}'
state: absent
purge: yes
with_items: "{{ delpkg }}"