Comments (2)
Thank you @tangowithfoxtrot
from core.
You need to add become: true
to your tasks:
---
- name: Upload certificate files
hosts: fw.local
gather_facts: no
tasks:
- name: Display Wildcard_Cert_Pub_Output content
debug:
msg: " {{ Wildcard_Cert_Pub_Output_Set_Stats.stdout |b64encode }} "
- name: Display Wildcard_Cert_Key_Output content
debug:
msg: " {{ Wildcard_Cert_Key_Output_Set_Stats.stdout |b64encode }} "
- name: Import Wildcard-Cert into FW
pfsensible.core.pfsense_cert:
method: "import"
name: "Wildcard-Cert"
certificate: '{{ Wildcard_Cert_Pub_Output_Set_Stats.stdout | b64encode }}'
key: '{{ Wildcard_Cert_Key_Output_Set_Stats.stdout | b64encode }}'
certtype: "server"
state: present
when: "'fw.local' in inventory_hostname"
become: true
and add the pfSense-pkg-sudo
package if you haven't already. These modules work by editing the /cf/conf/config.xml
file referenced in your error output, which is only writable for the root user.
from core.
Related Issues (20)
- Module pfsense_dhcp_static - ARP Static Entry HOT 5
- deadcode round about haproxy HOT 2
- Reload filter rules HOT 1
- module_utils/pfsense.py:PFSenseModule.php JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 5
- Using 'any' interface in a floating rule HOT 4
- pfsense_interface sets IPv6 config type to None when `ipv6_type: slaac` is defined HOT 4
- pfsense_interface does not support IPv6 Configuration types: DHCP6, 6rd Tunnel, 6t4 Tunnel and Track Interface HOT 1
- nat_outbound - wrong dest address HOT 3
- pfsense_openvpn_server - Cannot find authentication server Local Database HOT 2
- WireGuard VPN
- Module option to whitelist IP HOT 1
- In dhcp module, allow interface netif to be given by its display name as well
- TLS key can't be generated for OpenVPN client/server HOT 4
- Module for managing Virtual IPs HOT 1
- Module for managing 1:1 NAT rules HOT 1
- members are not recognized for pfsense_interface_group module HOT 1
- pfsense_setup - Overwrites existing config due to defaults HOT 1
- pfsensible.core.pfsense_nat_outbound invert option bug. HOT 3
- pfsense_dhcp_static: No DHCP configuration found for netif HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.