Skip to content

Commit 51eda53

Browse files
committed
Add ansible galaxy notfications and minor updates
1 parent b321c48 commit 51eda53

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ before_install:
99
install:
1010
- pip install ansible --upgrade
1111
- ansible --version
12-
- "{ echo '[defaults]'; echo 'roles_path = ../'; } >> ansible.cfg"
12+
- printf '[defaults]\nroles_path=../' >ansible.cfg
1313
- echo localhost > inventory
1414
script:
1515
- ansible-playbook -i inventory --syntax-check --list-tasks test.yml
@@ -24,3 +24,5 @@ after_script:
2424
- sshd -T -f /etc/ssh/sshd_config
2525
- cat /etc/ssh/sshd_config
2626
- ls -la /etc/ssh/
27+
notifications:
28+
webhooks: https://galaxy.ansible.com/api/v1/notifications/

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,16 @@ alias for legacy connections: `alias ssh_ignore="ssh -F /dev/null"`
4747
None.
4848

4949
## Example Playbook
50-
- hosts: server
51-
remote_user: root
52-
vars:
53-
- ssh_remove_deprecated_server_keys: false
54-
- ssh_port: 1813
55-
roles:
56-
- { role: elnappoo.secure-openssh-server }
50+
51+
```yaml
52+
- hosts: server
53+
remote_user: root
54+
vars:
55+
- ssh_remove_deprecated_server_keys: false
56+
- ssh_port: 1813
57+
roles:
58+
- { role: elnappoo.secure-openssh-server }
59+
```
5760
5861
## License
5962
MIT

meta/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ galaxy_info:
88
- name: Ubuntu
99
versions:
1010
- trusty
11-
- wily
12-
- xenial
1311
- name: Debian
1412
versions:
1513
- jessie
16-
- stretch
17-
categories:
14+
galaxy_tags:
1815
- networking
1916
- system
17+
- ssh
18+
- security
2019
dependencies: []

0 commit comments

Comments
 (0)