Closed nstrug closed 5 years ago
Thanks!
I can reproduce this with the following smaller example:
- hosts: localhost
tasks:
- name: Generate Subnets
foreman_subnet:
server_url: "https://foreman.example.com"
username: "admin"
password: "changeme"
verify_ssl: False
name: "192.168.0.0/24"
cidr: "24"
network: "192.168.0.0"
state: present
And it works fine if I pass mask
instead of cidr
SUMMARY
I get the following error when trying to create a subnet:
ISSUE TYPE
ANSIBLE VERSION
KATELLO/FOREMAN VERSION
NAILGUN VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
Create a new subnet.
ACTUAL RESULTS