-
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.
- Loading branch information
Showing
27 changed files
with
151 additions
and
105 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
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 |
---|---|---|
|
@@ -41,9 +41,30 @@ | |
- [x] support vault | ||
- [ ] add taskrunner syntax validation so we can lint the tasks before actual run | ||
- [ ] struct based cli arg parsing? such as go-arg or go-flags or kong | ||
- [ ] module auto doc generation | ||
|
||
# Todo for MVP / internal use | ||
|
||
- [ ] tests for vault | ||
- [x] tui progress shows DONE when there is an error | ||
- [ ] rename runner to module | ||
- [ ] dont pass whole task to runner | ||
- [ ] add: creates as backwards compat | ||
- [ ] bug: tree does not work? | ||
- [ ] args vs \_args | ||
|
||
``` | ||
# - name: inital request of wildcard certificate | ||
# command: "certbot certonly -n --agree-tos [email protected] --dns-cloudflare --dns-cloudflare-credentials /etc/certbot/sans.ec.creds -d '*.sans.ec'" | ||
# args: | ||
# creates: /etc/letsencrypt/live/sans.ec/cert.pem | ||
# tags: certbot | ||
``` | ||
|
||
- [ ] get_url | ||
- [ ] apt: state latest? | ||
- [x] apt: pkg should be "name" ? | ||
- [ ] tags | ||
- [x] bug: \_args get assigned to every task | ||
- [x] bug: tree, prefixmap props don't trickle down in map (eg handler for /etc) | ||
- [x] bug: task (pre-) runner should be able to modify their vars, args | ||
|
@@ -61,7 +82,8 @@ | |
|
||
nice: | ||
|
||
- support for ansible vault https://github.com/sosedoff/ansible-vault-go/blob/master/vault.go | ||
x support for ansible vault https://github.com/sosedoff/ansible-vault-go/blob/master/vault.go | ||
|
||
- fix tests | ||
- tree: move assets from run param to arg param | ||
- tree sync: use tar or std serialization | ||
|
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
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,7 +1,7 @@ | ||
--- | ||
- hosts: | ||
- [email protected] | ||
# - ubuntu@192.168.64.17 | ||
# - [email protected] | ||
- root@192.168.64.17 | ||
vars: | ||
install: | ||
path: /data | ||
|
@@ -12,17 +12,16 @@ | |
- tiny | ||
|
||
tasks: | ||
- lineinfile: | ||
path: /tmp/postfix/main.cf | ||
line: "inet_interfaces = 127.0.0.1" | ||
- apt: | ||
pkg: | ||
name: | ||
- moreutils | ||
- xz-utils | ||
- git | ||
- atop state=absent | ||
|
||
- lineinfile: | ||
path: /tmp/postfix/main.cf | ||
line: "inet_interfaces = 127.0.0.1" | ||
|
||
# - name: install ssh keys | ||
# authorized_key: | ||
# user: ubuntu | ||
|
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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
tasks: | ||
- name: install ssh keys | ||
authorized_key: | ||
command: | ||
user: ubuntu | ||
key: "{{item}}" | ||
loop: | ||
|
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
age-encryption.org/v1 | ||
-> X25519 wSDpoxlZgP/AY32nfL3P01xPcmcg8RbyNyIwdgAUBlA | ||
diGQqI0YCfRPYTOKgFZEcCrLPhww5JkR6s2h91d8VNY | ||
--- QWioTvm5ePzU/5MPjbnPZtvetYWbaepZDJa9YKlQrho | ||
��^��GwZ���X�����Q>q�F�v�NX��$�V |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
$ANSIBLE_VAULT;1.1;AES256 | ||
61633337373135626538333230336665353763636130336235343764383032393332353036653564 | ||
3937613336396262326130623666393961656332653130620a386430666533626337343732613937 | ||
34396461316337616166343438613334343434613432326666633761666534396365326162626562 | ||
3239376538356136610a303465313131616564626565316665346630636662343330393932303430 | ||
3862 |
Binary file not shown.
Binary file not shown.
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
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
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
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
Oops, something went wrong.