[debops-users] sysctr problem

Jan Kowalsky jankow at datenkollektiv.net
Thu Mar 29 16:26:35 CEST 2018


Hi all,

anybody has an hint, why this does not work:

sysctl__host_parameters:
  - name: 'network'
    options:
      - 'net.ipv6.conf.all.accept_ra': 1
      - 'net.ipv6.conf.default.accept_ra': 1


Error message is:

fatal: [host.example.org]: FAILED! => {"changed": false, "msg":
"AnsibleFilterError: {{ sysctl__shared_memory_map |
combine(sysctl__paging_map) | combine(sysctl__hardening_map) |
combine(sysctl__parameters) | combine(sysctl__group_parameters) |
combine(sysctl__host_parameters) }}: |combine expects dictionaries, got
[{u'name': u'network', u'options': [{u'net.ipv6.conf.all.accept_ra': 1},
{u'net.ipv6.conf.default.accept_ra': 1}]}]"}

same whith:

# enable router advertisement on host for ipv6
sysctl__host_parameters:
  - name: 'network'
    options:
      - name: 'net.ipv6.conf.all.accept_ra'
        value: 1
        comment: 'Accept IPv6 RAs.'
      - name: 'net.ipv6.conf.default.accept_ra'
        value: 1
        comment: 'Accept IPv6 RAs.'

Thanks and best regards
Jan


More information about the debops-users mailing list