Change state structure for ini_manage to work;

This commit is contained in:
Antsiferov Grigory 2017-04-17 15:32:18 +03:00
parent 5207f10b4d
commit 61f400df4c
4 changed files with 12 additions and 0 deletions

View File

@ -28,7 +28,10 @@ include:
sync-type: git
clone-depth: 1
sync-uri: '{{ sync_uri }}'
/etc/portage/repos.conf/{{ repo_name }}.conf-absent:
ini.options_absent:
- name: /etc/portage/repos.conf/{{ repo_name }}.conf
- sections:
{{ repo_name }}:
- sync-depth

View File

@ -29,7 +29,10 @@ gentoo:
sync-type: git
clone-depth: 1
sync-uri: '{{ sync_uri }}'
/etc/portage/repos.conf/gentoo.conf-absent:
ini.options_absent:
- name: /etc/portage/repos.conf/gentoo.conf
- sections:
gentoo:
- sync-depth

View File

@ -28,7 +28,10 @@ include:
sync-type: git
clone-depth: 1
sync-uri: '{{ sync_uri }}'
/etc/portage/repos.conf/{{ repo_name }}.conf-absent:
ini.options_absent:
- name: /etc/portage/repos.conf/{{ repo_name }}.conf
- sections:
{{ repo_name }}:
- sync-depth

View File

@ -28,7 +28,10 @@ include:
sync-type: git
clone-depth: 1
sync-uri: '{{ sync_uri }}'
/etc/portage/repos.conf/{{ repo_name }}.conf-absent:
ini.options_absent:
- name: /etc/portage/repos.conf/{{ repo_name }}.conf
- sections:
{{ repo_name }}:
- sync-depth