summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-node
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/byo/openshift-node')
-rw-r--r--playbooks/byo/openshift-node/network_manager.yml38
1 files changed, 19 insertions, 19 deletions
diff --git a/playbooks/byo/openshift-node/network_manager.yml b/playbooks/byo/openshift-node/network_manager.yml
index 8c810096f..344b22240 100644
--- a/playbooks/byo/openshift-node/network_manager.yml
+++ b/playbooks/byo/openshift-node/network_manager.yml
@@ -13,24 +13,24 @@
- hosts: l_oo_all_hosts
become: yes
tasks:
- - name: install NetworkManager
- package:
- name: 'NetworkManager'
- state: present
+ - name: install NetworkManager
+ package:
+ name: 'NetworkManager'
+ state: present
- - name: configure NetworkManager
- lineinfile:
- dest: "/etc/sysconfig/network-scripts/ifcfg-{{ ansible_default_ipv4['interface'] }}"
- regexp: '^{{ item }}='
- line: '{{ item }}=yes'
- state: present
- create: yes
- with_items:
- - 'USE_PEERDNS'
- - 'NM_CONTROLLED'
+ - name: configure NetworkManager
+ lineinfile:
+ dest: "/etc/sysconfig/network-scripts/ifcfg-{{ ansible_default_ipv4['interface'] }}"
+ regexp: '^{{ item }}='
+ line: '{{ item }}=yes'
+ state: present
+ create: yes
+ with_items:
+ - 'USE_PEERDNS'
+ - 'NM_CONTROLLED'
- - name: enable and start NetworkManager
- service:
- name: 'NetworkManager'
- state: started
- enabled: yes \ No newline at end of file
+ - name: enable and start NetworkManager
+ service:
+ name: 'NetworkManager'
+ state: started
+ enabled: yes