Commit 07c6695d authored by Dimitri Savineau's avatar Dimitri Savineau Committed by Dimitri Savineau
Browse files

Remove NBSP characters



Some NBSP are still present in the yaml files.
Adding a test in travis CI.
Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
parent 5aecdd3b
......@@ -8,5 +8,6 @@ install:
- pip install -r requirements.txt
- pip install ansible-lint pytest
script:
- if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi
- pytest -vvvv library/
- for i in $(ls -1 roles/); do ansible-lint -x 204 -v roles/$i/ ; done
......@@ -125,7 +125,7 @@
- "{{ rbdmirror_group_name|default('rbdmirrors') }}"
- "{{ nfs_group_name|default('nfss') }}"
- "{{ client_group_name|default('clients') }}"
- "{{ mgr_group_name|default('mgrs') }}"
- "{{ mgr_group_name|default('mgrs') }}"
- grafana-server
- clients
- iscsigws
......
......@@ -2,4 +2,4 @@
- name: "fail if {{ inventory_hostname }} does not have any {{ ip_version }} address on {{ monitor_address_block }}"
fail:
msg: "{{ inventory_hostname }} does not have any {{ ip_version }} address on {{ monitor_address_block }}"
when: hostvars[inventory_hostname]['ansible_all_' + ip_version + '_addresses'] | ipaddr(hostvars[inventory_hostname]['monitor_address_block']) | length == 0
when: hostvars[inventory_hostname]['ansible_all_' + ip_version + '_addresses'] | ipaddr(hostvars[inventory_hostname]['monitor_address_block']) | length == 0
......@@ -17,7 +17,7 @@
set_fact:
rootmount: "{{ ansible_mounts|json_query('[?mount==`/`]|[0]') }}"
# mount -o remount doesn't work on RHEL 8 for now
# mount -o remount doesn't work on RHEL 8 for now
- name: add mount options to /
mount:
path: '{{ rootmount.mount }}'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment