Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
|
0258910d45 | |
|
c0f4da8a73 | |
|
19fc82668b | |
|
d4c298ca42 | |
|
98a7ebb0b4 | |
|
ceca21a1ce |
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -1,4 +1,16 @@
|
||||||
## v1.0
|
## v1.0.2
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
* Use flatten to manage packages list.
|
||||||
|
|
||||||
|
## v1.0.1
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
* Use to_nice_json to manage packages list.
|
||||||
|
* Set empty dependencies line to fix Galaxy warning.
|
||||||
|
* Retries packages installation.
|
||||||
|
|
||||||
|
## v1.0.0
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
* Install debsecan
|
* Install debsecan
|
||||||
|
|
|
@ -61,7 +61,7 @@ Jérémy Gardais
|
||||||
* [IPR][ipr website] (Institut de Physique de Rennes)
|
* [IPR][ipr website] (Institut de Physique de Rennes)
|
||||||
|
|
||||||
[gogs to github hook]: https://stackoverflow.com/a/21998477
|
[gogs to github hook]: https://stackoverflow.com/a/21998477
|
||||||
[debian_security source]: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.debian_security
|
[debian_security source]: https://git.ipr.univ-rennes.fr/cellinfo/ansible.debian_security
|
||||||
[debian_security github]: https://github.com/ipr-cnrs.debian_security
|
[debian_security github]: https://github.com/ipr-cnrs.debian_security
|
||||||
[wtfpl website]: http://www.wtfpl.net/about/
|
[wtfpl website]: http://www.wtfpl.net/about/
|
||||||
[ipr website]: https://ipr.univ-rennes1.fr/
|
[ipr website]: https://ipr.univ-rennes1.fr/
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# List of base packages to install.
|
# List of base packages to install.
|
||||||
deb_sec__required_packages:
|
deb_sec__required_packages:
|
||||||
- 'debsecan'
|
- debsecan
|
||||||
# ]]]
|
# ]]]
|
||||||
# .. envvar:: deb_sec__deploy_state [[[
|
# .. envvar:: deb_sec__deploy_state [[[
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,14 +1,19 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
dependencies: []
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: "Jérémy Gardais"
|
author: "Jérémy Gardais"
|
||||||
description: "Tools and configuration to secure Debian system"
|
description: "Tools and configuration to secure Debian system"
|
||||||
license: WTFPL
|
license: WTFPL
|
||||||
company: IPR
|
company: IPR
|
||||||
issue_tracker_url: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.debian_security/issues
|
issue_tracker_url: https://git.ipr.univ-rennes.fr/cellinfo/ansible.debian_security/issues
|
||||||
min_ansible_version: 2.5
|
min_ansible_version: 2.7
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- stretch
|
- stretch
|
||||||
|
- buster
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- debian
|
- debian
|
||||||
- security
|
- security
|
||||||
|
|
|
@ -6,12 +6,13 @@
|
||||||
# Manage required system packages [[[1
|
# Manage required system packages [[[1
|
||||||
- name: Ensure required packages are in there desired state
|
- name: Ensure required packages are in there desired state
|
||||||
package:
|
package:
|
||||||
name: '{{ item }}'
|
name: '{{ (deb_sec__required_packages | flatten) }}'
|
||||||
state: '{{ "present" if (deb_sec__deploy_state == "present")
|
state: '{{ "present" if (deb_sec__deploy_state == "present")
|
||||||
else "absent" }}'
|
else "absent" }}'
|
||||||
install_recommends: False
|
install_recommends: False
|
||||||
with_flattened:
|
register: pkg_result
|
||||||
- '{{ deb_sec__required_packages }}'
|
until: pkg_result is success
|
||||||
|
|
||||||
# Debsecan [[[1
|
# Debsecan [[[1
|
||||||
# Configuration [[[
|
# Configuration [[[
|
||||||
- name: Debsecan configuration
|
- name: Debsecan configuration
|
||||||
|
|
Loading…
Reference in New Issue