Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
36
Issues
36
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
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
#
- name: install needed network manager libs
become
:
yes
#
become: yes
dnf
:
#
dnf:
name
:
'
{{
item
}}'
#
name: '{{ item }}'
state
:
present
#
state: present
with_items
:
#
with_items:
-
NetworkManager-glib
#
- NetworkManager-glib
-
libnm-qt-devel.x86_64
#
- libnm-qt-devel.x86_64
-
nm-connection-editor.x86_64
#
- nm-connection-editor.x86_64
-
libsemanage-python
#
- libsemanage-python
-
policycoreutils-python
#
- policycoreutils-python
when
:
(ansible_distribution == "Fedora"
or ansible_distribution == "CentOS")
# when: ((ansible_distribution == "Fedora" and ansible_distribution_number < 27)
or ansible_distribution == "CentOS")
# does not work at the moment
# does not work at the moment
# - name: set DNS Server
# - 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