Created
November 23, 2017 01:35
-
-
Save kjelly/93928be36876a1f54ac8d9e6bce12d59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: prepare kolla | |
hosts: "all" | |
tasks: | |
- name: remove "localdomain" from hostname | |
lineinfile: path=/etc/hostname regexp='^(.+)\.localdomain$' line="\1" backrefs=yes | |
become: yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible-playbook -e@/kolla-ansible/ansible/group_vars/all.yml -e@/etc/kolla/globals.yml -i /etc/kolla-ansible-docker/inventory remove-localdomain.yml $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment