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_*
|
.csync_*
|
||||||
.owncloudsync.log
|
.owncloudsync.log
|
||||||
config/jetbrains-settings.jar
|
config/jetbrains-settings.jar
|
||||||
|
*.retry
|
||||||
|
|
3
Pipfile
3
Pipfile
|
@ -10,3 +10,6 @@ ansible = "*"
|
||||||
|
|
||||||
[requires]
|
[requires]
|
||||||
python_version = "3.7"
|
python_version = "3.7"
|
||||||
|
|
||||||
|
[scripts]
|
||||||
|
deploy = "bash ./deploy.sh"
|
||||||
|
|
|
@ -2,11 +2,4 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
puppet apply manifests/pre-packages.pp --modulepath=modules/ --verbose
|
ansible-playbook -i hosts dotfiles.yml
|
||||||
|
|
||||||
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
|
|
||||||
|
|
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