Issue is not with Ansible but with your system.
Seems you may have to regenerate some of your locale settings.
Try the solution mentioned
here: http://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue
-Nico
On Sunday, July 10, 2016 at 12:02:02 PM UTC-7, Oleg Belousov wrote:
>
> Error:
>
> msg: 'apt-get install 'runit' ' failed: perl: warning: Setting locale
> failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LC_TIME = "de_DE.UTF-8",
> LC_MONETARY = "de_DE.UTF-8",
> LC_ADDRESS = "de_DE.UTF-8",
> LC_TELEPHONE = "de_DE.UTF-8",
> LC_NAME = "de_DE.UTF-8",
> LC_MEASUREMENT = "de_DE.UTF-8",
> LC_IDENTIFICATION = "de_DE.UTF-8",
> LC_NUMERIC = "de_DE.UTF-8",
> LC_PAPER = "de_DE.UTF-8",
> LANG = "C"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> locale: Cannot set LC_ALL to default locale: No such file or directory
> grep: /etc/inittab: No such file or directory
> grep: /etc/inittab: No such file or directory
> cp: cannot stat '/etc/inittab': No such file or directory
> dpkg: error processing package runit (--configure):
> subprocess installed post-installation script returned error exit status
> 1
> Errors were encountered while processing:
> runit
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
> This is an open source ansimble config from here:
> https://github.com/txbits/TxBitsDeployer
>
>
> Let it be noted that I am using Ubuntu 14.04 instead of Debian 8 as noted
> in the docs.
> Could that be the problem?
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d6ec2e4a-8194-4d16-8f9c-7be0ca94696a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.