Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
playbooks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
playbooks
Commits
b48b4b54
Commit
b48b4b54
authored
Jul 31, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cockpit
parent
fbc4e96d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
7 deletions
+33
-7
hypervisor.yml
hypervisor.yml
+26
-7
node.yml
node.yml
+7
-0
No files found.
hypervisor.yml
View file @
b48b4b54
...
...
@@ -2,10 +2,6 @@
-
hosts
:
hypervisor
remote_user
:
root
tasks
:
-
name
:
authorized_key
authorized_key
:
user
:
"
{{
ansible_user_id
}}"
key
:
"
{{
webvirt_ssh_key
}}"
-
name
:
get cpufreq policy path
find
:
paths
:
...
...
@@ -26,7 +22,7 @@
apt
:
state
:
latest
update_cache
:
true
name
:
qemu,qemu-kvm,libvirt-bin,bridge-utils,virtinst,libguestfs-tools,ksmtuned
name
:
qemu,qemu-kvm,libvirt-bin,bridge-utils,virtinst,libguestfs-tools,ksmtuned
,dmidecode,cockpit
-
name
:
python for focal
become
:
true
when
:
ansible_os_family == 'Debian' and ansible_distribution_release == 'focal'
...
...
@@ -49,7 +45,7 @@
yum
:
state
:
latest
update_cache
:
true
name
:
sudo,python,kvm,qemu-kvm,qemu-kvm-tools,qemu-img,libvirt,libvirt-python,libguestfs-tools,bridge-utils,virt-install,python-lxml
name
:
sudo,python,kvm,qemu-kvm,qemu-kvm-tools,qemu-img,libvirt,libvirt-python,libguestfs-tools,bridge-utils,virt-install,python-lxml
,dmidecode,cockpit
-
name
:
epel
8
become
:
true
dnf
:
...
...
@@ -61,7 +57,7 @@
when
:
ansible_os_family == 'RedHat' and ansible_distribution_major_version|int >=
8
dnf
:
state
:
latest
name
:
sudo,python3,qemu-kvm,qemu-img,libvirt,python3-libvirt,libguestfs-tools,virt-install,python3-lxml
name
:
sudo,python3,qemu-kvm,qemu-img,libvirt,python3-libvirt,libguestfs-tools,virt-install,python3-lxml
,dmidecode,cockpit
-
name
:
libvirt service
become
:
true
systemd
:
...
...
@@ -104,3 +100,26 @@
-
iso
-
img
-
xml
-
name
:
cockpit cert
become
:
true
copy
:
content
:
|
{{ lookup('file', '../certs/{{cockpit_cert_domain}}/fullchain.pem') }}
{{ lookup('file', '../certs/{{cockpit_cert_domain}}/privkey.pem') }}
dest
:
/etc/cockpit/ws-certs.d/0-self-signed.cert
owner
:
root
group
:
cockpit-ws
mode
:
0640
notify
:
restart_cockpit
-
name
:
start cockpit
become
:
true
systemd
:
name
:
cockpit
state
:
started
enabled
:
yes
handlers
:
-
name
:
restart_cockpit
become
:
true
systemd
:
name
:
cockpit
state
:
restarted
node.yml
0 → 100644
View file @
b48b4b54
---
-
hosts
:
node
remote_user
:
root
roles
:
-
name
:
nodejs
vars
:
nodejs_version
:
12
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