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
|
||||
* Install debsecan
|
||||
|
|
|
@ -61,7 +61,7 @@ Jérémy Gardais
|
|||
* [IPR][ipr website] (Institut de Physique de Rennes)
|
||||
|
||||
[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
|
||||
[wtfpl website]: http://www.wtfpl.net/about/
|
||||
[ipr website]: https://ipr.univ-rennes1.fr/
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# List of base packages to install.
|
||||
deb_sec__required_packages:
|
||||
- 'debsecan'
|
||||
- debsecan
|
||||
# ]]]
|
||||
# .. envvar:: deb_sec__deploy_state [[[
|
||||
#
|
||||
|
|
|
@ -1,14 +1,19 @@
|
|||
---
|
||||
|
||||
dependencies: []
|
||||
|
||||
galaxy_info:
|
||||
author: "Jérémy Gardais"
|
||||
description: "Tools and configuration to secure Debian system"
|
||||
license: WTFPL
|
||||
company: IPR
|
||||
issue_tracker_url: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.debian_security/issues
|
||||
min_ansible_version: 2.5
|
||||
issue_tracker_url: https://git.ipr.univ-rennes.fr/cellinfo/ansible.debian_security/issues
|
||||
min_ansible_version: 2.7
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- stretch
|
||||
- buster
|
||||
galaxy_tags:
|
||||
- debian
|
||||
- security
|
||||
|
|
|
@ -6,12 +6,13 @@
|
|||
# Manage required system packages [[[1
|
||||
- name: Ensure required packages are in there desired state
|
||||
package:
|
||||
name: '{{ item }}'
|
||||
name: '{{ (deb_sec__required_packages | flatten) }}'
|
||||
state: '{{ "present" if (deb_sec__deploy_state == "present")
|
||||
else "absent" }}'
|
||||
install_recommends: False
|
||||
with_flattened:
|
||||
- '{{ deb_sec__required_packages }}'
|
||||
register: pkg_result
|
||||
until: pkg_result is success
|
||||
|
||||
# Debsecan [[[1
|
||||
# Configuration [[[
|
||||
- name: Debsecan configuration
|
||||
|
|
Loading…
Reference in New Issue