-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove useless parts and upgrade to Ansible2
- Loading branch information
1 parent
07ce563
commit 5579d34
Showing
12 changed files
with
22 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.vault-password | ||
*.vault | ||
*.retry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
--- | ||
|
||
proxy_env: | ||
http_proxy: "" | ||
https_proxy: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
--- | ||
|
||
- name: reload systemd configuration | ||
sudo: yes | ||
shell: systemctl daemon-reload | ||
|
||
- name: restart docker | ||
sudo: yes | ||
service: name=docker state=restarted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
- hosts: 127.0.0.1 | ||
connection: local | ||
become: yes | ||
become_method: sudo | ||
roles: | ||
- { role: resetenv } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
currentDir=$( cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P ) | ||
ansible-playbook -i $currentDir/hosts --vault-password-file=$currentDir/.vault-password $currentDir/playbook.yml -e resetenv_path=$currentDir $@ | ||
ansible-playbook -i $currentDir/hosts $currentDir/playbook.yml -e resetenv_path=$currentDir $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
syntax on | ||
autocmd Filetype gitcommit setlocal textwidth=72 | ||
|
||
|
||
python from powerline.vim import setup as powerline_setup | ||
python powerline_setup() | ||
python del powerline_setup | ||
set laststatus=2 | ||
set t_Co=128 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters