Init ansible setup
This commit is contained in:
parent
14089eacaa
commit
18df0273d4
5 changed files with 11 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
.csync_*
|
||||
.owncloudsync.log
|
||||
config/jetbrains-settings.jar
|
||||
*.retry
|
||||
|
|
3
Pipfile
3
Pipfile
|
@ -10,3 +10,6 @@ ansible = "*"
|
|||
|
||||
[requires]
|
||||
python_version = "3.7"
|
||||
|
||||
[scripts]
|
||||
deploy = "bash ./deploy.sh"
|
||||
|
|
|
@ -2,11 +2,4 @@
|
|||
|
||||
set -e
|
||||
|
||||
puppet apply manifests/pre-packages.pp --modulepath=modules/ --verbose
|
||||
|
||||
patch /usr/bin/makepkg -N < makepkg.patch
|
||||
puppet apply manifests/packages.pp --verbose
|
||||
patch /usr/bin/makepkg -NR < makepkg.patch
|
||||
|
||||
puppet apply manifests/main.pp --modulepath=modules/ --verbose
|
||||
puppet apply manifests/devices.pp --modulepath=modules/ --verbose
|
||||
ansible-playbook -i hosts dotfiles.yml
|
||||
|
|
4
dotfiles.yml
Normal file
4
dotfiles.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
- ping:
|
2
hosts
Normal file
2
hosts
Normal file
|
@ -0,0 +1,2 @@
|
|||
[local]
|
||||
127.0.0.1
|
Loading…
Reference in a new issue