We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Wildfly - 10.1.0-final java - 8 ansible [core 2.14.3] config file = /root/ansible/ansible.cfg configured module search path = ['/root/ansible/modules'] ansible python module location = /usr/local/lib/python3.9/dist-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] (/usr/bin/python3) jinja version = 3.1.2 libyaml = True
I want to get:
<interfaces> <interface name="management"> <any-address/> </interface> <interface name="public"> <any-address/> </interface> </interfaces>
I use:
- name: Configure networks middleware_automation.jcliff.jcliff: jcliff_home: "{{ wildfly_base_dir }}/jcliff" rules_dir: "{{ wildfly_base_dir }}/jcliff/rules" wfly_home: "{{ wildfly_base_dir }}" subsystems: - system_properties: - name: jcliff.enabled value: 'enabled.plus' - interfaces: - name: public any_address: true - name: management any_address: true environment: - JAVA_HOME: '/usr/lib/jvm/bellsoft-java8-amd64'
I get an error:
fatal: [srv]: FAILED! => Processing path /interface/management/any-address:STRING\n2023-05-11 11:43:35:0744: Adding to modify list\n2023-05-11 11:43:35:0744: Diff:reorder:/interface value={\n \"public\" => {\"any-address\" => \"True\"},\n \"management\" => {\"any-address\" => \"True\"}\n}(/interface value={\n \"management\" => {\n \"any\" => undefined,\n \"any-address\" => undefined,\n \"inet-address\" => expression \"${jboss.bind.address.management:127.0.0.1}\",\n \"link-local-address\" => undefined,\n \"loopback\" => undefined,\n \"loopback-address\" => undefined,\n \"multicast\" => undefined,\n \"name\" => \"management\",\n \"nic\" => undefined,\n \"nic-match\" => undefined,\n \"not\" => undefined,\n \"point-to-point\" => undefined,\n \"public-address\" => undefined,\n \"site-local-address\" => undefined,\n \"subnet-match\" => undefined,\n \"up\" => undefined,\n \"virtual\" => undefined\n },\n \"public\" => {\n \"any\" => undefined,\n \"any-address\" => undefined,\n \"inet-address\" => \"0.0.0.0\",\n \"link-local-address\" => undefined,\n \"loopback\" => undefined,\n \"loopback-address\" => undefined,\n \"multicast\" => undefined,\n \"name\" => \"public\",\n \"nic\" => undefined,\n \"nic-match\" => undefined,\n \"not\" => undefined,\n \"point-to-point\" => undefined,\n \"public-address\" => undefined,\n \"site-local-address\" => undefined,\n \"subnet-match\" => undefined,\n \"up\" => undefined,\n \"virtual\" => undefined\n }\n})\n2023-05-11 11:43:35:0745: Diff:reorder:/interface/public value={\"any-address\" => \"True\"}(/interface/public value={\n \"any\" => undefined,\n \"any-address\" => undefined,\n \"inet-address\" => \"0.0.0.0\",\n \"link-local-address\" => undefined,\n \"loopback\" => undefined,\n \"loopback-address\" => undefined,\n \"multicast\" => undefined,\n \"name\" => \"public\",\n \"nic\" => undefined,\n \"nic-match\" => undefined,\n \"not\" => undefined,\n \"point-to-point\" => undefined,\n \"public-address\" => undefined,\n \"site-local-address\" => undefined,\n \"subnet-match\" => undefined,\n \"up\" => undefined,\n \"virtual\" => undefined\n})\n2023-05-11 11:43:35:0745: Diff:modify:/interface/public/any-address value=\"True\"(/interface/public/any-address value=undefined)\n2023-05-11 11:43:35:0745: Diff:reorder:/interface/management value={\"any-address\" => \"True\"}(/interface/management value={\n \"any\" => undefined,\n \"any-address\" => undefined,\n \"inet-address\" => expression \"${jboss.bind.address.management:127.0.0.1}\",\n \"link-local-address\" => undefined,\n \"loopback\" => undefined,\n \"loopback-address\" => undefined,\n \"multicast\" => undefined,\n \"name\" => \"management\",\n \"nic\" => undefined,\n \"nic-match\" => undefined,\n \"not\" => undefined,\n \"point-to-point\" => undefined,\n \"public-address\" => undefined,\n \"site-local-address\" => undefined,\n \"subnet-match\" => undefined,\n \"up\" => undefined,\n \"virtual\" => undefined\n})\n2023-05-11 11:43:35:0745: Diff:modify:/interface/management/any-address value=\"True\"(/interface/management/any-address value=undefined)\n2023-05-11 11:43:35:0745: Checking rule addInterface\n2023-05-11 11:43:35:0745: Checking rule modifyInterface\n2023-05-11 11:43:35:0746: modifyInterface will be run on modify:/interface/public/any-address value=\"True\"(/interface/public/any-address value=undefined)\n2023-05-11 11:43:35:0748: run:/interface=\"public\":write-attribute(name=any-address,value=\"True\")\n:reload\n2023-05-11 11:43:35:0748: /interface=\"public\":write-attribute(name=any-address,value=\"True\")\n:reload\n2023-05-11 11:43:35:0749: in file:/tmp/jcliff-in5046312810161879113.tmp true\n2023-05-11 11:43:35:0749: out file:/tmp/jcliff-out2358813956808840606.tmp true\n2023-05-11 11:43:35:0749: err file:/tmp/jcliff-err4952241465846408502.tmp true\n2023-05-11 11:43:35:0749: script file:/tmp/jcliff-script3481839127617017116.tmp true\n2023-05-11 11:43:35:0750: args:/opt/wildfly/bin/jboss-cli.sh\n2023-05-11 11:43:35:0750: args:--controller=localhost:9990\n2023-05-11 11:43:35:0750: args:--connect\n2023-05-11 11:43:35:0750: args:--file=/tmp/jcliff-in5046312810161879113.tmp\n2023-05-11 11:43:35:0750: args:--timeout=30000\n2023-05-11 11:43:35:0750: cmds:/interface=\"public\":write-attribute(name=any-address,value=\"True\")\n2023-05-11 11:43:35:0751: Script file:/tmp/jcliff-script3481839127617017116.tmp true\n2023-05-11 11:43:35:0751: In file:/tmp/jcliff-in5046312810161879113.tmp true\n2023-05-11 11:43:37:0922: return Code has :1\n2023-05-11 11:43:37:0923: stderr:\n2023-05-11 11:43:37:0924: stdout:{\n \"outcome\" => \"failed\",\n \"failure-description\" => \"WFLYCTL0105: any-address is invalid in combination with inet-address\",\n \"rolled-back\" => true\n}\n2023-05-11 11:43:37:0924: Return:{\n \"outcome\" => \"failed\",\n \"failure-description\" => \"WFLYCTL0105: any-address is invalid in combination with inet-address\",\n \"rolled-back\" => true\n}\n2023-05-11 11:43:37:0925: java.lang.RuntimeException: Operation failed:{\"outcome\" => \"failed\",\"failure-description\" => \"WFLYCTL0105: any-address is invalid in combination with inet-address\",\"rolled-back\" => true}\n\tat com.redhat.jcliff.Configurable$DefaultPostprocessor.process(Configurable.java:59)\n\tat com.redhat.jcliff.Ctx.runcmd(Ctx.java:106)\n\tat com.redhat.jcliff.Ctx.runQueuedCmds(Ctx.java:146)\n\tat com.redhat.jcliff.Main.main(Main.java:263)\n", "jcliff_cli": ["bash", "-x", "/opt/wildfly/jcliff/jcliff", "--cli=/opt/wildfly/bin/jboss-cli.sh", "--ruledir=/opt/wildfly/jcliff/rules", "--timeout=30000", "--reconnect-delay=30000", "--controller=localhost:9990", "-v", "/home/hramov-ms-230320/.ansible/tmp/ansible-tmp-1683794608.510154-31855-250923696668149//system_properties.jcliff.yml", "/home/hramov-ms-230320/.ansible/tmp/ansible-tmp-1683794608.510154-31855-250923696668149//interfaces.jcliff.yml"], "output": null, "status": 1}}}
in my opinion the most important: WFLYCTL0105: any-address is invalid in combination with inet-address
how to use playbook install on interfaces - <any-address/>
<any-address/>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Wildfly - 10.1.0-final
java - 8
ansible [core 2.14.3]
config file = /root/ansible/ansible.cfg
configured module search path = ['/root/ansible/modules']
ansible python module location = /usr/local/lib/python3.9/dist-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] (/usr/bin/python3)
jinja version = 3.1.2
libyaml = True
I want to get:
I use:
I get an error:
fatal: [srv]: FAILED! => Processing path /interface/management/any-address:STRING\n2023-05-11 11:43:35:0744: Adding to modify list\n2023-05-11 11:43:35:0744: Diff:reorder:/interface value={\n \"public\" => {\"any-address\" => \"True\"},\n \"management\" => {\"any-address\" => \"True\"}\n}(/interface value={\n \"management\" => {\n \"any\" => undefined,\n \"any-address\" => undefined,\n \"inet-address\" => expression \"${jboss.bind.address.management:127.0.0.1}\",\n \"link-local-address\" => undefined,\n \"loopback\" => undefined,\n \"loopback-address\" => undefined,\n \"multicast\" => undefined,\n \"name\" => \"management\",\n \"nic\" => undefined,\n \"nic-match\" => undefined,\n \"not\" => undefined,\n \"point-to-point\" => undefined,\n \"public-address\" => undefined,\n \"site-local-address\" => undefined,\n \"subnet-match\" => undefined,\n \"up\" => undefined,\n \"virtual\" => undefined\n },\n \"public\" => {\n \"any\" => undefined,\n \"any-address\" => undefined,\n \"inet-address\" => \"0.0.0.0\",\n \"link-local-address\" => undefined,\n \"loopback\" => undefined,\n \"loopback-address\" => undefined,\n \"multicast\" => undefined,\n \"name\" => \"public\",\n \"nic\" => undefined,\n \"nic-match\" => undefined,\n \"not\" => undefined,\n \"point-to-point\" => undefined,\n \"public-address\" => undefined,\n \"site-local-address\" => undefined,\n \"subnet-match\" => undefined,\n \"up\" => undefined,\n \"virtual\" => undefined\n }\n})\n2023-05-11 11:43:35:0745: Diff:reorder:/interface/public value={\"any-address\" => \"True\"}(/interface/public value={\n \"any\" => undefined,\n \"any-address\" => undefined,\n \"inet-address\" => \"0.0.0.0\",\n \"link-local-address\" => undefined,\n \"loopback\" => undefined,\n \"loopback-address\" => undefined,\n \"multicast\" => undefined,\n \"name\" => \"public\",\n \"nic\" => undefined,\n \"nic-match\" => undefined,\n \"not\" => undefined,\n \"point-to-point\" => undefined,\n \"public-address\" => undefined,\n \"site-local-address\" => undefined,\n \"subnet-match\" => undefined,\n \"up\" => undefined,\n \"virtual\" => undefined\n})\n2023-05-11 11:43:35:0745: Diff:modify:/interface/public/any-address value=\"True\"(/interface/public/any-address value=undefined)\n2023-05-11 11:43:35:0745: Diff:reorder:/interface/management value={\"any-address\" => \"True\"}(/interface/management value={\n \"any\" => undefined,\n \"any-address\" => undefined,\n \"inet-address\" => expression \"${jboss.bind.address.management:127.0.0.1}\",\n \"link-local-address\" => undefined,\n \"loopback\" => undefined,\n \"loopback-address\" => undefined,\n \"multicast\" => undefined,\n \"name\" => \"management\",\n \"nic\" => undefined,\n \"nic-match\" => undefined,\n \"not\" => undefined,\n \"point-to-point\" => undefined,\n \"public-address\" => undefined,\n \"site-local-address\" => undefined,\n \"subnet-match\" => undefined,\n \"up\" => undefined,\n \"virtual\" => undefined\n})\n2023-05-11 11:43:35:0745: Diff:modify:/interface/management/any-address value=\"True\"(/interface/management/any-address value=undefined)\n2023-05-11 11:43:35:0745: Checking rule addInterface\n2023-05-11 11:43:35:0745: Checking rule modifyInterface\n2023-05-11 11:43:35:0746: modifyInterface will be run on modify:/interface/public/any-address value=\"True\"(/interface/public/any-address value=undefined)\n2023-05-11 11:43:35:0748: run:/interface=\"public\":write-attribute(name=any-address,value=\"True\")\n:reload\n2023-05-11 11:43:35:0748: /interface=\"public\":write-attribute(name=any-address,value=\"True\")\n:reload\n2023-05-11 11:43:35:0749: in file:/tmp/jcliff-in5046312810161879113.tmp true\n2023-05-11 11:43:35:0749: out file:/tmp/jcliff-out2358813956808840606.tmp true\n2023-05-11 11:43:35:0749: err file:/tmp/jcliff-err4952241465846408502.tmp true\n2023-05-11 11:43:35:0749: script file:/tmp/jcliff-script3481839127617017116.tmp true\n2023-05-11 11:43:35:0750: args:/opt/wildfly/bin/jboss-cli.sh\n2023-05-11 11:43:35:0750: args:--controller=localhost:9990\n2023-05-11 11:43:35:0750: args:--connect\n2023-05-11 11:43:35:0750: args:--file=/tmp/jcliff-in5046312810161879113.tmp\n2023-05-11 11:43:35:0750: args:--timeout=30000\n2023-05-11 11:43:35:0750: cmds:/interface=\"public\":write-attribute(name=any-address,value=\"True\")\n2023-05-11 11:43:35:0751: Script file:/tmp/jcliff-script3481839127617017116.tmp true\n2023-05-11 11:43:35:0751: In file:/tmp/jcliff-in5046312810161879113.tmp true\n2023-05-11 11:43:37:0922: return Code has :1\n2023-05-11 11:43:37:0923: stderr:\n2023-05-11 11:43:37:0924: stdout:{\n \"outcome\" => \"failed\",\n \"failure-description\" => \"WFLYCTL0105: any-address is invalid in combination with inet-address\",\n \"rolled-back\" => true\n}\n2023-05-11 11:43:37:0924: Return:{\n \"outcome\" => \"failed\",\n \"failure-description\" => \"WFLYCTL0105: any-address is invalid in combination with inet-address\",\n \"rolled-back\" => true\n}\n2023-05-11 11:43:37:0925: java.lang.RuntimeException: Operation failed:{\"outcome\" => \"failed\",\"failure-description\" => \"WFLYCTL0105: any-address is invalid in combination with inet-address\",\"rolled-back\" => true}\n\tat com.redhat.jcliff.Configurable$DefaultPostprocessor.process(Configurable.java:59)\n\tat com.redhat.jcliff.Ctx.runcmd(Ctx.java:106)\n\tat com.redhat.jcliff.Ctx.runQueuedCmds(Ctx.java:146)\n\tat com.redhat.jcliff.Main.main(Main.java:263)\n", "jcliff_cli": ["bash", "-x", "/opt/wildfly/jcliff/jcliff", "--cli=/opt/wildfly/bin/jboss-cli.sh", "--ruledir=/opt/wildfly/jcliff/rules", "--timeout=30000", "--reconnect-delay=30000", "--controller=localhost:9990", "-v", "/home/hramov-ms-230320/.ansible/tmp/ansible-tmp-1683794608.510154-31855-250923696668149//system_properties.jcliff.yml", "/home/hramov-ms-230320/.ansible/tmp/ansible-tmp-1683794608.510154-31855-250923696668149//interfaces.jcliff.yml"], "output": null, "status": 1}}}
in my opinion the most important: WFLYCTL0105: any-address is invalid in combination with inet-address
how to use playbook install on interfaces -
<any-address/>
The text was updated successfully, but these errors were encountered: