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 state: absent
when: ansible_product_name != "VirtualBox" when: ansible_product_name != "VirtualBox"
with_items: with_items:
- ^auto eth0 - '^auto eth0'
- ^iface eth0 - '^iface eth0'

View File

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

View File

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

View File

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