Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
07e67667
Commit
07e67667
authored
Nov 19, 2017
by
julian.gethmann
Committed by
julian.gethmann
Apr 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround broken networkmanager features
parent
55b98a07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
roles/common/tasks/hostname.yml
roles/common/tasks/hostname.yml
+12
-12
No files found.
roles/common/tasks/hostname.yml
View file @
07e67667
---
-
name
:
install needed network manager libs
become
:
yes
dnf
:
name
:
'
{{
item
}}'
state
:
present
with_items
:
-
NetworkManager-glib
-
libnm-qt-devel.x86_64
-
nm-connection-editor.x86_64
-
libsemanage-python
-
policycoreutils-python
when
:
(ansible_distribution == "Fedora" or ansible_distribution == "CentOS")
#
- name: install needed network manager libs
#
become: yes
#
dnf:
#
name: '{{ item }}'
#
state: present
#
with_items:
#
- NetworkManager-glib
#
- libnm-qt-devel.x86_64
#
- nm-connection-editor.x86_64
#
- libsemanage-python
#
- policycoreutils-python
#
when:
(
(ansible_distribution == "Fedora"
and ansible_distribution_number < 27)
or ansible_distribution == "CentOS")
# does not work at the moment
# - name: set DNS Server
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment