- using Ansible command line:
ansible-playbook --connection=local 127.0.0.1 playbook.yml
- using inventory:
127.0.0.1 ansible_connection=local
ansible-playbook --connection=local 127.0.0.1 playbook.yml
127.0.0.1 ansible_connection=local
docker run \ | |
--name {{printf "%q" .Name}} \ | |
{{- with .HostConfig}} | |
{{- if .Privileged}} | |
--privileged \ | |
{{- end}} | |
{{- if .AutoRemove}} | |
--rm \ | |
{{- end}} | |
{{- if .Runtime}} |
%global pecl_name yaml | |
%global ini_name 40-%{pecl_name}.ini | |
# Change default build against scl rh-php71 | |
%{!?scl:%global scl rh-php71} | |
%{?scl:%scl_package php-pecl-yaml} | |
%{!?scl:%global pkg_name %{name}} | |
Name: %{?scl_prefix}php-pecl-yaml |
Note: since version 0.1.1 of the module this now works in Windows PowerShell or PowerShell Core.
(see this issue for more info: ryanoasis/nerd-fonts#269)
<# | |
.SYNOPSIS | |
This Powershell script updates the security descriptor for scheduled tasks so that any user can run the task. | |
Version 1.0 of this script only displays tasks in the root folder. I want to make sure that works first. | |
.DESCRIPTION | |
Earlier versions of Windows apparently used file permissions on C:\Windows\System32\Tasks files to manage security. | |
Windows now uses the SD value on tasks under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree to accomplish that. |
function Get-CommandSourceCode | |
{ | |
<# | |
.SYNOPSIS | |
Get SourceCode of an powershell cmdlet | |
.DESCRIPTION | |
Get SourceCode of an powershell cmdlet | |
.PARAMETER Command | |
Must be a valid powershell cmdlet/function | |
.EXAMPLE |
<?xml version="1.0" encoding="utf-8"?> | |
<Page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="LetsEncrypt" Description="Front End for SSL Cert generation based on Let's Encrypt" Authenticated="false" ShowInNavigation="true" ShowNavigation="true"> | |
<Components> | |
<Form Id="6594b4c1-92a7-4190-831c-88d36efd5530" Title="Certificate Details" Description="Enter Details for the certificate here" SuccessTitle="Certificate Generated!" SuccessDescription="You'll receive an email with your Certificate within 2 minutes." RefreshComponents="true"> | |
<Target Name="New-LetsEncryptCertificate.ps1" Type="script"> | |
<Fields> | |
<Field Name="CertificateDnsName" Tooltip="Enter the Subject of the certificate you wish to generate. Supports Wildcard" Value="example.foo.org" Type="textbox" Required="false" /> | |
<Field Name="PFXPassphrase" Tooltip="This is the password on the certificate used to import it on other systems. DO NOT LOSE THIS ONCE YOU SE |