Clean up trailing spaces

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2015-01-26 22:44:12 +00:00
parent 3ce612bba6
commit 65342ef01d

View file

@ -1,8 +1,8 @@
--- ---
# #
# This is the base role for all machines. # This is the base role for all machines.
# Things in here are things we want to do to every machine no matter what. # Things in here are things we want to do to every machine no matter what.
# #
# XXX fixme # a datacenter 'fact' from setup # XXX fixme # a datacenter 'fact' from setup
@ -31,7 +31,7 @@
command: hostnamectl set-hostname {{ inventory_hostname }} command: hostnamectl set-hostname {{ inventory_hostname }}
when: ( ansible_nodename != inventory_hostname ) and ansible_distribution_major_version == '7' when: ( ansible_nodename != inventory_hostname ) and ansible_distribution_major_version == '7'
- name: sshd_config - name: sshd_config
copy: src={{ item }} dest=/etc/ssh/sshd_config mode=600 copy: src={{ item }} dest=/etc/ssh/sshd_config mode=600
with_first_found: with_first_found:
- "{{ sshd_config }}" - "{{ sshd_config }}"
@ -56,7 +56,7 @@
- base - base
when: not (inventory_hostname.startswith('build') or inventory_hostname.startswith('releng') or inventory_hostname.startswith('arm') or inventory_hostname.startswith('compose') or inventory_hostname.startswith('bkernel') or inventory_hostname.startswith('koji') or inventory_hostname.startswith('rawhide') or inventory_hostname.startswith('branched')) when: not (inventory_hostname.startswith('build') or inventory_hostname.startswith('releng') or inventory_hostname.startswith('arm') or inventory_hostname.startswith('compose') or inventory_hostname.startswith('bkernel') or inventory_hostname.startswith('koji') or inventory_hostname.startswith('rawhide') or inventory_hostname.startswith('branched'))
- name: add ansible root key - name: add ansible root key
authorized_key: user=root key="{{ item }}" authorized_key: user=root key="{{ item }}"
with_file: with_file:
- ansible-pub-key - ansible-pub-key
@ -69,10 +69,10 @@
tags: tags:
- config - config
- base - base
- name: dist pkgs to remove - name: dist pkgs to remove
yum: state=absent name={{ item }} yum: state=absent name={{ item }}
with_items: with_items:
- "{{ base_pkgs_erase }}" - "{{ base_pkgs_erase }}"
tags: tags:
- packages - packages
@ -175,7 +175,7 @@
tags: tags:
- rsyslogd - rsyslogd
- config - config
- name: log everything to log01 except on mirrorlist, do not log local4 there. - name: log everything to log01 except on mirrorlist, do not log local4 there.
copy: src=rsyslog/rsyslog-log01 dest=/etc/rsyslog.d/rsyslog-log01.conf mode=644 copy: src=rsyslog/rsyslog-log01 dest=/etc/rsyslog.d/rsyslog-log01.conf mode=644
when: not inventory_hostname.startswith('mirrorlist') when: not inventory_hostname.startswith('mirrorlist')
@ -192,7 +192,7 @@
- config - config
- base - base
- base - base
- name: /etc/postfix/main.cf - name: /etc/postfix/main.cf
copy: src={{ item }} dest=/etc/postfix/main.cf copy: src={{ item }} dest=/etc/postfix/main.cf
with_first_found: with_first_found: