initial commit
This commit is contained in:
19
docker/init.sls
Normal file
19
docker/init.sls
Normal file
@@ -0,0 +1,19 @@
|
||||
# /srv/salt/docker/init.sls
|
||||
|
||||
docker_packages:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- docker
|
||||
- docker-openrc
|
||||
- docker-cli-compose
|
||||
|
||||
docker_service:
|
||||
service.running:
|
||||
- name: docker
|
||||
- enable: True
|
||||
- require:
|
||||
- pkg: docker_packages
|
||||
|
||||
docker_group:
|
||||
group.present:
|
||||
- name: docker
|
||||
Reference in New Issue
Block a user