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
7afd0aef
Commit
7afd0aef
authored
Jan 28, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
catchup
parent
3cb61333
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
1 deletion
+41
-1
hypervisor-cert.yml
hypervisor-cert.yml
+27
-0
services-uninstall.yml
services-uninstall.yml
+13
-0
services.yml
services.yml
+1
-1
No files found.
hypervisor-cert.yml
0 → 100644
View file @
7afd0aef
---
-
hosts
:
hypervisor
remote_user
:
root
tasks
:
-
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
services-uninstall.yml
0 → 100644
View file @
7afd0aef
---
-
hosts
:
services
remote_user
:
root
tasks
:
-
name
:
docker-compose down
docker_compose
:
project_src
:
'
{{
ansible_user_dir
}}/{{
service_path
}}'
state
:
absent
-
name
:
directory
become
:
true
file
:
path
:
'
{{
ansible_user_dir
}}/{{
service_path
}}'
state
:
absent
services.yml
View file @
7afd0aef
...
...
@@ -62,7 +62,7 @@
type
:
docker
path
:
'
{{
ansible_user_dir
}}/{{
service_path
}}'
services
:
'
{{
handle_services
}}'
when
:
handle_services
when
:
handle_services
| bool
-
name
:
handle_frpc
include_tasks
:
'
handlers/docker.yaml'
vars
:
...
...
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