Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable to specify multiple day in fortios_firewall_schedule_recurring module #65

Closed
defus opened this issue Oct 28, 2020 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@defus
Copy link

defus commented Oct 28, 2020

SUMMARY

I cannot use multiple days in the fortios_firewall_schedule_recurring module as the documentation says.

ISSUE TYPE
  • Bug Report
COMPONENT NAME
  • fortios_firewall_schedule_recurring
ANSIBLE VERSION
ansible 2.9.9
  config file = /tmp/cib/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.8.3 (default, May 15 2020, 01:53:50) [GCC 9.3.0]
CONFIGURATION
COLLECTIONS_PATHS(/tmp/cib/ansible.cfg) = ['/tmp/cib']
DEFAULT_ROLES_PATH(/tmp/cib/ansible.cfg) = ['/tmp/cib/roles']
GALAXY_SERVER_LIST(/tmp/cib/ansible.cfg) = ['awb_galaxy']
OS / ENVIRONMENT
  • molecule docker image : quay.io/ansible/molecule:3.0.8
STEPS TO REPRODUCE
fortios_firewall_schedule_recurring:
  host:  "{{ provider.server }}"
  username: "{{ provider.user }}"
  password: "{{ provider.password }}"
  vdom:  "{{ provider.vdom }}"
  https: "{{ provider.https }}"
  ssl_verify: "{{ provider.ssl_verify }}"
  state: "present"
  firewall_schedule_recurring:
    name: "always-TODELETE"
    day: "monday tuesday wednesday thursday friday saturday sunday"
    start: "00:00"
    end: ""
EXPECTED RESULTS

Create schedule with multiple dates

ACTUAL RESULTS
 "msg": "value of day must be one of: sunday, monday, tuesday, wednesday, thursday, friday, saturday, none, got: ['monday', 'tuesday'] found in firewall_schedule_recurring"
@chillancezen
Copy link

eta:11.10.2020

@chillancezen
Copy link

thanks @defus for this issue,
we have a fix for this, it will be available in next few weeks, I will update you then.

thanks,
Link

@chillancezen chillancezen added the bug Something isn't working label Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants