NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MAKEDEV from ansible problem
On Fri, Oct 10, 2025 at 10:22:16AM -0400, vom513 wrote:
> Hello all,
>
> I have been playing with ansible to set up some of my NB machines they way I like in an automated fashion. As of right now it?s working very well. I ran this on 3 machiens yesterday, and ansible reported no failures.
>
> The one thing that reported success but didn?t actually happen was a MAKEDEV for sd5. I have more drives on this machine than NetBSD created device nodes for by default. My playbook section:
>
> - name: Setup RAID on ss20 - make devices for sd5
> become: yes
> shell: |
> /dev/MAKEDEV sd5
> when: ansible_facts['hostname'] == ?ss20?
>
> It seems like something wasn?t happy about the way this ran. It ran as root (become: yes). And as I said ansible said it ran okay. But sd5 was not actually created.
>
> Is there a nuance to the MAKEDEV script that I need to take into account to make this successful ?
maybe
cd /dev && ./MAKEDEV sd5
I think MAKEDEV create nodes in the current directory
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index